package com.antu.first.bean;

import java.util.Date;

/**
 * The swiper display on the customer pages
 * Created by Administrator on 2018/3/3.
 */
public class Swiper {

    private int swId;//Id

    private String swName;//图片名称

    private String swDesc;//图片描述

    private int swLoc;//展示Id

    private Hotel hotel;//对应酒店

    private String swAddr;//图片地址

    private int swSequence;//展示权重，权重越大越靠前 0-99

    private int swStatus;//图片状态

    private Date swCreateTime;//创建时间

    public Swiper() {
    }

    public Swiper(int swId, String swName, String swDesc, int swLoc, Hotel hotel, String swAddr, int swSequence, int swStatus, Date swCreateTime) {

        this.swId = swId;
        this.swName = swName;
        this.swDesc = swDesc;
        this.swLoc = swLoc;
        this.hotel = hotel;
        this.swAddr = swAddr;
        this.swSequence = swSequence;
        this.swStatus = swStatus;
        this.swCreateTime = swCreateTime;
    }

    public int getSwId() {

        return swId;
    }

    public void setSwId(int swId) {
        this.swId = swId;
    }

    public String getSwName() {
        return swName;
    }

    public void setSwName(String swName) {
        this.swName = swName;
    }

    public String getSwDesc() {
        return swDesc;
    }

    public void setSwDesc(String swDesc) {
        this.swDesc = swDesc;
    }

    public int getSwLoc() {
        return swLoc;
    }

    public void setSwLoc(int swLoc) {
        this.swLoc = swLoc;
    }

    public Hotel getHotel() {
        return hotel;
    }

    public void setHotel(Hotel hotel) {
        this.hotel = hotel;
    }

    public String getSwAddr() {
        return swAddr;
    }

    public void setSwAddr(String swAddr) {
        this.swAddr = swAddr;
    }

    public int getSwSequence() {
        return swSequence;
    }

    public void setSwSequence(int swSequence) {
        this.swSequence = swSequence;
    }

    public int getSwStatus() {
        return swStatus;
    }

    public void setSwStatus(int swStatus) {
        this.swStatus = swStatus;
    }

    public Date getSwCreateTime() {
        return swCreateTime;
    }

    public void setSwCreateTime(Date swCreateTime) {
        this.swCreateTime = swCreateTime;
    }

    @Override
    public String toString() {
        return "Swiper{" +
                "swId=" + swId +
                ", swName='" + swName + '\'' +
                ", swDesc='" + swDesc + '\'' +
                ", swLoc=" + swLoc +
                ", hotel=" + hotel +
                ", swAddr='" + swAddr + '\'' +
                ", swSequence=" + swSequence +
                ", swStatus=" + swStatus +
                ", swCreateTime=" + swCreateTime +
                '}';
    }
}
